use blake2::Blake2s256;
use file_hashing::get_hash_file;
use blake2::Digest;
use std::path::PathBuf;
fn main() {
    let path = PathBuf::from("H:/H-drive-6474859/Film/Hello！树先生-2011_HD国语中字(1).mkv");
    let mut hash = Blake2s256::new();

    let result = get_hash_file(&path, &mut hash).unwrap();

    assert_eq!(result.len(), 64); // Blake2s256 len == 64
    println!("Hello, world!");
    println!("{}",result);
}
